﻿//Copyright (c) 2010, Andreas Grünwald
//All rights reserved.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace yaTDL.Core.Toodledo
{
    public class ToodledoServerInfo
    {
        public double UnixTime { get; set; }

        public DateTime Date { get; set; }

        public double ServerOffset { get; set; }

        public decimal TokenExpires { get; set; }


        public override string ToString()
        {
            return "UnixTime: " + UnixTime.ToString() + "; Date: " + Date.ToString() + "; ServerOffset: " + ServerOffset.ToString() + "; TokenExpires: " + TokenExpires.ToString() + ";";
        }


        public static ToodledoServerInfo Empty = new ToodledoServerInfo();
    }
}
